package com.example.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.DateTimeException;
import java.util.Date;

@Repository
public interface LogMapper {

    @Insert("insert into hylog values(null,#{info},#{date})")
    void insertLog(@Param("info") String info, @Param("date") Date date);
}
